package com.irdstudio.efp.esb.api.bean.zzd;

import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotEmpty;

import com.alibaba.fastjson.annotation.JSONField;
import com.irdstudio.basic.framework.core.annotation.DicType;
import com.irdstudio.efp.esb.common.constant.ms.DnstsEnum;

/**
 * 放款结果通知接口请求bean
 * 
 * @author liyakui
 * @since 2018年12月29日 上午11:19:08
 * @version 1.0
 */

public class ReqNoticeOfResultBean {

	@JSONField(name = "TxnFlowNo")
	@Length(max = 64)
	@NotEmpty
	private String txnFlowNo;// 交易流水号
	@JSONField(name = "UsrContrNo")
	@NotEmpty
	@Length(max = 64)
	private String contrNo;// 合同编号
	@JSONField(name = "DistrAmt")
	@Length(max = 32)
	@NotEmpty
	private String distrAmt;// 放款金额
	@JSONField(name = "UsrOnlyFlg")
	@Length(max = 32)
	@NotEmpty
	private String usrOnlyFlg;// 用户唯一标识
	@JSONField(name = "DistrSt")
	@Length(max = 10)
	@NotEmpty
	@DicType(dicType = DnstsEnum.class, method = "getValue")
	private String distrSt;// 发放状态
	@JSONField(name = "TransTm")
	@Length(max = 25)
	@NotEmpty
	private String transTm;// 交易时间

	public String getTxnFlowNo() {
		return txnFlowNo;
	}

	public void setTxnFlowNo(String txnFlowNo) {
		this.txnFlowNo = txnFlowNo;
	}

	public String getContrNo() {
		return contrNo;
	}

	public void setContrNo(String contrNo) {
		this.contrNo = contrNo;
	}

	public String getDistrAmt() {
		return distrAmt;
	}

	public void setDistrAmt(String distrAmt) {
		this.distrAmt = distrAmt;
	}

	public String getUsrOnlyFlg() {
		return usrOnlyFlg;
	}

	public void setUsrOnlyFlg(String usrOnlyFlg) {
		this.usrOnlyFlg = usrOnlyFlg;
	}

	public String getDistrSt() {
		return distrSt;
	}

	public void setDistrSt(String distrSt) {
		this.distrSt = distrSt;
	}

	public String getTransTm() {
		return transTm;
	}

	public void setTransTm(String transTm) {
		this.transTm = transTm;
	}


}
